package com.focusai.efairy.network;


import com.focusai.efairy.network.exception.NetworkException;
import com.focusai.efairy.network.request.base.Request;

/**
 * Created by heqingbao on 2016/8/1.
 */
public interface ResponseDelivery {

    void postResponse(Request<?> request, Response<?> response);

    void postResponse(Request<?> request, Response<?> response, Runnable runnable);

    void postError(Request<?> request, NetworkException error);
}
